package com.jjyu.service;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jjyu.entity.Restaurant;

import java.util.List;
@TableName("restaurant")
public interface RestaurantService extends IService<Restaurant> {

    List<Restaurant> getAllRestaurant();

    List<Restaurant> getRestaurantByAddStr(String addStr);

    /**
     * 分页获取餐厅列表
     */
    List<Restaurant> getRestaurantByPage(int pageNum, int pageSize);


}
